import request from '@/sheep/request';

export default {
  getDefaultAvatar: (data) =>
    request({
      url: '/api/family/getDefaultAvatar',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  getNoLoginFamily: (data) =>
    request({
      url: '/api/family/getNoLoginFamily',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  createFamily: (data) =>
    request({
      url: '/api/family/createFamily',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取用户家庭列表
  getUserFamily: (data) =>
    request({
      url: '/api/family/getUserFamily',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭详情
  getFamilyCulture: (data) =>
    request({
      url: '/api/family/getFamilyCulture',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭成员列表
  getFamilyMemberList: (data) =>
    request({
      url: '/api/family/getFamilyMemberList',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭家纪念日
  getFamilyMemoryDay: (data) =>
    request({
      url: '/api/family/getFamilyMemoryDay',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭家庭圈
  getFamilyCircle: (data) =>
    request({
      url: '/api/family/getFamilyCircle',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 发布家庭圈
  publishFamilyCircle: (data) =>
    request({
      url: '/api/family/publishFamilyCircle',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭/个人相册
  getFamilyImage: (data) =>
    request({
      url: '/api/family/getFamilyImage',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 添加家庭/个人相册
  addFamilyImage: (data) =>
    request({
      url: '/api/family/addFamilyImage',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 添加家庭成员
  addFamilyMember: (data) =>
    request({
      url: '/api/family/addFamilyMember',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 修改家庭成员信息
  updateFamilyMemberInfo: (data) =>
    request({
      url: '/api/family/updateFamilyMemberInfo',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 添加纪念日
  addFamilyMemoryDay: (data) =>
    request({
      url: '/api/family/addFamilyMemoryDay',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取相册详情
  getFamilyImageDetail: (data) =>
    request({
      url: '/api/family/getFamilyImageDetail',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 设置家庭/个人封面
  setCover: (data) =>
    request({
      url: '/api/family/setCover',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),

  // 获取家庭相册封面
  getFamilyCover: (data) =>
    request({
      url: '/api/family/getFamilyCover',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭家纪念日（生日）
  getFamilyBirthday: (data) =>
    request({
      url: '/api/family/getFamilyBirthday',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭成员今日运势
  getFortuneInfo: (data) =>
    request({
      url: '/api/family/getFortuneInfo',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭家纪念日/生日 详情
  getFamilyMemoryDayDetail: (data) =>
    request({
      url: '/api/family/getFamilyMemoryDayDetail',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭成员详情
  getFamilyMemberDetail: (data) =>
    request({
      url: '/api/family/getFamilyMemberDetail',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭成员家庭圈
  getMemberCircle: (data) =>
    request({
      url: '/api/family/getMemberCircle',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭系统称谓列表
  getFamilyRemarksList: (data) =>
    request({
      url: '/api/family/getFamilyRemarksList',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭圈详情
  getFamilyCircleDetail: (data) =>
    request({
      url: '/api/family/getFamilyCircleDetail',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 添加家庭圈/家庭相册评论
  addComment: (data) =>
    request({
      url: '/api/family/addComment',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取成员相册封面
  getPersonCover: (data) =>
    request({
      url: '/api/family/getPersonCover',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 查看家庭日志
  getFamilyLog: (data) =>
    request({
      url: '/api/family/getFamilyLog',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭二维码
  createFamilyCode: (data) =>
    request({
      url: '/api/family/createFamilyCode',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 根据家庭号搜索家庭
  searchFamily: (data) =>
    request({
      url: '/api/family/searchFamily',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取生日纪念日提醒设置列表
  getFamilyRemindList: (data) =>
    request({
      url: '/api/family/getFamilyRemindList',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 设置生日纪念日提醒
  setFamilyRemind: (data) =>
    request({
      url: '/api/family/setFamilyRemind',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 修改家庭名称
  updateFamilyName: (data) =>
    request({
      url: '/api/family/updateFamilyName',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  like: (data) =>
    request({
      url: '/api/family/like',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭圈/家庭相册评论列表
  getCommentList: (data) =>
    request({
      url: '/api/family/getCommentList',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 删除相册
  delFamilyImage: (data) =>
    request({
      url: '/api/family/delFamilyImage',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 修改家庭家风
  updateFamilyCulture: (data) =>
    request({
      url: '/api/family/updateFamilyCulture',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  // 获取家庭记账列表
  getAccountList: (data) =>
    request({
      url: '/api/family/getAccountList',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  //
  getAccountType: (data) =>
    request({
      url: '/api/family/getAccountType',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  addAccount: (data) =>
    request({
      url: '/api/family/addAccount',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  surnameClick: (data) =>
    request({
      url: '/api/surname/surnameClick',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  applyFamily: (data) =>
    request({
      url: '/api/family/applyFamily',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  updateFamilyMemberRole: (data) =>
    request({
      url: '/api/family/updateFamilyMemberRole',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  deleteFamily: (data) =>
    request({
      url: '/api/family/deleteFamily',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  updateFamilyMemoryDay: (data) =>
    request({
      url: '/api/family/updateFamilyMemoryDay',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  delFamilyMember: (data) =>
    request({
      url: '/api/family/delFamilyMember',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  delFamilyCircle: (data) =>
    request({
      url: '/api/family/delFamilyCircle',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  agree_join: (data) =>
    request({
      url: '/api/family/agree_join',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  agreeJoinFamily: (data) =>
    request({
      url: '/api/family/agreeJoinFamily',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  checkUserInFamily: (data) =>
    request({
      url: '/api/family/checkUserInFamily',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  addFamilyRemember: (data) =>
    request({
      url: '/api/family/addFamilyRemember',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  getFamilyRememberList: (data) =>
    request({
      url: '/api/family/getFamilyRememberList',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  getFamilyRememberListByFamilyId: (data) =>
    request({
      url: '/api/family/getFamilyRememberListByFamilyId',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  getFamilyMemberListById: (data) =>
    request({
      url: '/api/family/getFamilyMemberListById',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  updateFamilyMemberSort: (data) =>
    request({
      url: '/api/family/updateFamilyMemberSort',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  delAccount: (data) =>
    request({
      url: '/api/family/delAccount',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  updateAccount: (data) =>
    request({
      url: '/api/family/updateAccount',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  updateFamilySort: (data) =>
    request({
      url: '/api/family/updateFamilySort',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  checkAuth: (data) =>
    request({
      url: '/api/family/checkAuth',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
  getBannerImageList: (data) =>
    request({
      url: '/api/index/getBannerImageList',
      method: 'GET',
      data,
      custom: {
        showLoading: false,
      },
    }),
  delComment: (data) =>
    request({
      url: '/api/family/delComment',
      method: 'POST',
      data,
      custom: {
        showLoading: false,
      },
    }),
};